﻿@model IEnumerable<GosWeb.Models.Db.Gene>
@{
    ViewBag.Title = "血统代码表";
}
<fieldset>
    <legend>@ViewBag.Title |@Html.ActionLink("新建", "Create")
    </legend>
    <p>
    </p>
    <table>
        <tr>
            <th>
            </th>
            <th>
                代码
            </th>
            <th>
                品名
            </th>
            <th>
                备注
            </th>
        </tr>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                </td>
                <td>
                    @Html.ActionLink(item.Code, "Details", new { id = item.Code })
                </td>
                <td>
                    @item.Name
                </td>
                <td>
                    @GosWeb.Biz.Utilities.GetSortSummary(item.Description, 20)
                </td>
            </tr>
        }
    </table>
</fieldset>
